import {createStore,combineReducers,applyMiddleware} from 'redux'
import {composeWithDevTools} from 'redux-devtools-extension'
import thunk from "redux-thunk"
import home from './modules/home'
import login from './modules/login'
import register from './modules/register'


const reducer=combineReducers({
    home,login,register
})

const store=createStore(reducer,composeWithDevTools(applyMiddleware(thunk)))

export default store;